package com.peter.demo01;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.peter.demo03.Hello;


public class App {
    public static void main(String[] args) {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
        Hello hel = ctx.getBean(Hello.class);

        System.out.println(hel);

    }
}
